package com.budwk.app.sqfw.services;

import com.budwk.app.sqfw.dto.ThreeGuaranteeQueryDTO;
import com.budwk.app.sqfw.dto.ThreeGuaranteeControllerDTO;
import com.budwk.app.sqfw.dto.ThreeGuaranteeDTO;
import com.budwk.starter.common.page.Pagination;

/**
 * @author ZY.Wang
 * @since 2024/4/23
 */
public interface ThreeGuaranteeService {

    /**
     * 插入三包信息
     *
     * @param userId            用户id
     * @param threeGuaranteeDTO 三包信息
     */
    void insertThreeGuarantee(String userId, ThreeGuaranteeControllerDTO threeGuaranteeDTO);


    /**
     * 根据第三方门店id获取门店信息
     *
     * @param storeId 门店id
     * @return 结果
     */
    ThreeGuaranteeDTO getStoreByStoreId(String storeId);

    /**
     * 分页查询门前三包
     *
     * @param queryDTO 查询dto
     * @return 结果
     */
    Pagination pageListThreeGuarantee(ThreeGuaranteeQueryDTO queryDTO);

    /**
     * 删除表单数据
     *
     * @param id id
     */
    void deleteAssistanceFormSummary(String id);
}
